import Vue from 'vue'

import axios from 'axios'
import VueAxios from 'vue-axios'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VCharts from 'v-charts'
import echarts from 'echarts'

import router from "./router";

import App from './App'

Vue.config.productionTip = false;

Vue.use(VueAxios, axios);
Vue.use(ElementUI);
Vue.use(VCharts)
Vue.prototype.$echarts = echarts

new Vue({
  el: '#app',
  router: router,
  components: {App},
  template: '<App/>',
  render: h => h(App)
});
